#{extends 'profileLayout.html' /}
#{ifErrors} ${error} #{/ifErrors}
<form action = "@{Application.setNotificationSettings()}">
<input name = "onOrganization" type = "checkbox"  ${user.notifyOnOrganization ? 'checked' : '' }> Receive notifications on followed/created organizations <br>
<input name = "onDepartment" type = "checkbox"  ${user.notifyOnDepartment ? 'checked' : '' }> Receive notifications on followed/created departments<br>
<input name = "onTopic" type = "checkbox"  ${user.notifyOnTopic ? 'checked' : '' }> Receive notifications on followed/created topics<br>
<input name = "onIdea" type = "checkbox"  ${user.notifyOnIdea ? 'checked' : '' }> Receive notifications on followed/created ideas<br>
<input name = "onTag" type = "checkbox"  ${user.notifyOnTag ? 'checked' : '' }> Receive notifications on followed/created tags<br>

<br><br><br>
<input type = "submit" value = "Save Settings">&nbsp;&nbsp;&nbsp;
<a href = "@{Application.viewNotification()}" >Cancel</a><br><br><br><span
		style="color: #c00" class="error">#{error 'confirm' /}</span><br>
</form>
<a href = "@{Application.viewNotification()}" >Back to Notifications</a>